package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;
import java.util.Date;

/**
 * 企业基本表 company
 * 
 * @author ruoyi
 * @date 2019-04-26
 */
public class Company extends BaseEntity
{
	private static final long serialVersionUID = 1L;
	
	/** 企业ID */
	private Integer cid;
	/** 企业全称 */
	private String fullname;
	/** 企业简称 */
	private String samplename;
	/** 统一社会信用代码 */
	private String usccode;
	/** 注册号 */
	private String regcode;
	/** 法人 */
	private String legalperson;
	/** 注册资金 */
	private Integer capital;
	/** 成立日期 */
	private Date esdate;
	/** 营业期限自 */
	private String email;
	/** 邮箱 */
	private String phone;
	/** 电话 */
	private Date busstart;
	/** 营业期限至 */
	private Date busend;
	/** 登记机关 */
	private String regauthority;
	/** 核准日期 */
	private Date apprdate;
	/** 登记状态 */
	private String regstatus;
	/** 住所 */
	private String address;
	/** 经营范围 */
	private String busscope;

	public void setCid(Integer cid) 
	{
		this.cid = cid;
	}

	public Integer getCid() 
	{
		return cid;
	}
	public void setFullname(String fullname) 
	{
		this.fullname = fullname;
	}

	public String getFullname() 
	{
		return fullname;
	}
	public void setSamplename(String samplename) 
	{
		this.samplename = samplename;
	}

	public String getSamplename() 
	{
		return samplename;
	}
	public void setUsccode(String usccode) 
	{
		this.usccode = usccode;
	}

	public String getUsccode() 
	{
		return usccode;
	}
	public void setRegcode(String regcode) 
	{
		this.regcode = regcode;
	}

	public String getRegcode() 
	{
		return regcode;
	}
	public void setLegalperson(String legalperson) 
	{
		this.legalperson = legalperson;
	}

	public String getLegalperson() 
	{
		return legalperson;
	}
	public void setCapital(Integer capital) 
	{
		this.capital = capital;
	}

	public Integer getCapital() 
	{
		return capital;
	}
	public void setEsdate(Date esdate) 
	{
		this.esdate = esdate;
	}

	public Date getEsdate() 
	{
		return esdate;
	}
	public void setBusstart(Date busstart) 
	{
		this.busstart = busstart;
	}

	public Date getBusstart() 
	{
		return busstart;
	}
	public void setBusend(Date busend) 
	{
		this.busend = busend;
	}

	public Date getBusend() 
	{
		return busend;
	}
	public void setRegauthority(String regauthority) 
	{
		this.regauthority = regauthority;
	}

	public String getRegauthority() 
	{
		return regauthority;
	}
	public void setApprdate(Date apprdate) 
	{
		this.apprdate = apprdate;
	}

	public Date getApprdate() 
	{
		return apprdate;
	}
	public void setRegstatus(String regstatus) 
	{
		this.regstatus = regstatus;
	}

	public String getRegstatus() 
	{
		return regstatus;
	}
	public void setAddress(String address) 
	{
		this.address = address;
	}

	public String getAddress() 
	{
		return address;
	}
	public void setBusscope(String busscope) 
	{
		this.busscope = busscope;
	}

	public String getBusscope() 
	{
		return busscope;
	}

    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("cid", getCid())
            .append("fullname", getFullname())
            .append("samplename", getSamplename())
            .append("usccode", getUsccode())
            .append("regcode", getRegcode())
            .append("legalperson", getLegalperson())
            .append("capital", getCapital())
            .append("esdate", getEsdate())
            .append("busstart", getBusstart())
            .append("busend", getBusend())
            .append("regauthority", getRegauthority())
            .append("apprdate", getApprdate())
            .append("regstatus", getRegstatus())
            .append("address", getAddress())
            .append("busscope", getBusscope())
            .toString();

    }

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}
}
